package com.ytktt.study.week12.task4;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 消息信息对象
 *
 * @author ytk
 */
@Getter
@Setter
@ToString
public class MessageInfo {

    /** 消息自增序号 */
    private Long seq;

    /** 生成日期 */
    private String date;

    /** 分区 */
    private int partition;

    /** 消息偏移 */
    private long offset;
}
